package com.note.web.dto;

import io.swagger.annotations.ApiModelProperty;

/**
 * 返回的验证码信息
 */
public class VerificationCodeDTO {


    /**
     * 展示给前端看的验证码
     */
    @ApiModelProperty(value = "展示给前端看的验证码")
    private String code;

    /**
     * 用此id 从redis 获取验证码
     */
    @ApiModelProperty(value = "用此id 从redis 获取验证码")
    private String mainId;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMainId() {
        return mainId;
    }

    public void setMainId(String mainId) {
        this.mainId = mainId;
    }
}
